package com.lijie.bs_recruit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lijie.bs_recruit.mapper.ResumeMapper;
import com.lijie.bs_recruit.model.Resume;
import com.lijie.bs_recruit.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.FileCopyUtils;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileOutputStream;
import java.io.IOException;
import java.util.UUID;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 李杰
 * @since 2021-03-16
 */
@Service
public class ResumeServiceImpl extends ServiceImpl<ResumeMapper, Resume> implements ResumeService {
    @Autowired
    ResumeMapper resumeMapper;


    @Override
    public Resume findResumeByUserId(Integer userId) {
        Resume resumes = resumeMapper.selectById(userId);
        return resumes;
    }



}
